import { createRouter, createWebHashHistory } from "vue-router";
const router = createRouter({
  history: createWebHashHistory(), // 路由模式
  routes: [
    {
      path: "/",
      component: () => import("@/pages/layout/LayoutContainer.vue"),
      redirect: "/explore",
      children: [
        {
          path: "/explore",
          component: () => import("@/pages/explore/ExplorePage.vue"),
        },
        {
          path: "/fine",
          component: () => import("@/pages/fine/FinePage.vue"),
        },
      ],
    },
  ],
});

export default router;
